package com.chen.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author chen
 * @date 2022/6/11 15:43
 */
@TableName("clock")
@ApiModel(value = "打卡")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Clock implements Serializable {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键id")
    private Integer id;

    @ApiModelProperty(value = "打卡人")
    private String user;


    @ApiModelProperty("打卡时间")
    private String time;

    @ApiModelProperty(value = "打卡地点")
    private  String location;

    @ApiModelProperty(value = "打卡描述")
    private String comment;
}
